package filter;

public class OrFilterExpression<T> extends FilterExpression<T> {

  @Override
  public boolean matchesCriteria(T object) {
    for (Filter<T> filter : filters) {
      if (filter.matchesCriteria(object)) {
        return true;
      }
    }
    return false;
  }

}